{template 'common/header'}
{template 'common/slide'}
<style>
	body{
	font:{$_W['styles']['fontsize']} {$_W['styles']['fontfamily']};
	color:{$_W['styles']['fontcolor']};
	padding:0;
	margin:0;
	background-image:url('{if !empty($_W['styles']['indexbgimg'])}{$_W['styles']['indexbgimg']}{/if}');
	background-size:cover;
	background-color:{if empty($_W['styles']['indexbgcolor'])}#DBDBDB{else}{$_W['styles']['indexbgcolor']}{/if};
	{$_W['styles']['indexbgextra']}
	}
	a{color:{$_W['styles']['linkcolor']}; text-decoration:none;}
	{$_W['styles']['css']}
	.box{width:96%; overflow:hidden; margin:1.1% 2%; border-radius:0.2em; background-color:#fff; border-bottom:#bcbcbc solid 1px;}
	.box .box2{float:left; display:block; height:9.6em; text-align:center; width:33.33%; border-right:#d1d1d1 solid 1px;border-bottom:#d1d1d1 solid 1px;}
	.box .box-item{display:block; text-align:center; text-decoration:none; height:5.5em; line-height:5.5em; width:5.5em; border-radius:5.5em; margin:12% auto; background-color:#eee; color:#ffffff;}
	.box .box-item i{display:inline-block; width:100%; line-height:77px; font-size:35px; color:#C46336; overflow:hidden;}
	.box .box-item .icon{display:inline-block; width:100%; height:100%; border-radius:100%; }
	.box .box2 span{color:{$_W['styles']['fontnavcolor']};display:inline-block; font-size:14px; width:90%; height:20px; line-height:20px; text-align:center; margin:0 5%; overflow:hidden;}
</style>
<div class="box clearfix">
	{loop $navs $nav}
	<div class="box2">
		<a href="{$nav['url']}" class="box-item">
			{if !empty($nav['icon'])}
			<i style="background:url({$_W['attachurl']}{$nav['icon']}) no-repeat; background-size:cover;" class="icon"></i>
			{else}
			<i class="fa {$nav['css']['icon']['icon']} icon" style="{$nav['css']['icon']['style']}"></i>
			{/if}
		</a>
		<span style="{$nav['css']['name']}" title="{$nav['name']}">{$nav['name']}</span>
	</div>
	{/loop}
</div>
{template 'common/footer'}